Search
InternalUtils.LinearGradient Method (Object[])
See Also
 





Creates a linear gradient brush with the specified blend.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static LinearGradientBrush LinearGradient (
    Object[] positionsAndColors
)

Visual Basic  Copy Code

Public Shared Function LinearGradient( _
    positionsAndColors() As Object _
) As LinearGradientBrush

 Parameters

positionsAndColors
An alternating sequence of float and Color pairs where each pair defines a gradient stop. The positions in the sequence need to be in ascending order.

 Return Value

An instance of the LinearGradientBrush class corresponding to the specified settings.

 See Also